package com.authService.mapper;

import com.authService.entity.SysMenuPermissionEntity;
import com.authService.pojo.res.MenuPermissionRespDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单权限关联表 Mapper 接口
 * </p>
 *
 * @author xiaopeng
 * @since 2024-10-20
 */
public interface SysMenuPermissionMapper extends BaseMapper<SysMenuPermissionEntity> {

    /**
     * 查询菜单底下的资源权限
     * @param menuId
     * @return
     */
    List<MenuPermissionRespDTO> selectMenuPermissionList(@Param("menuId") Long menuId);
}
